//
//  IGForgetPasswordApi.m
//  jingdongfang
//
//  Created by BOE on 2017/9/19.
//  Copyright © 2017年 LJL. All rights reserved.
//

#import "IGForgetPasswordApi.h"

@interface IGForgetPasswordApi()
@property (nonatomic, copy) NSString *username;
@property (nonatomic, copy) NSString *password;
@property (nonatomic, copy) NSString *smsCode;

@end

@implementation IGForgetPasswordApi

- (id)initWithUsername:(NSString *)username password:(NSString *)password smsCode:(NSString *)smsCode {
    self = [super init];
    if (self) {
        _username = username;
        _password = password;
        _smsCode = smsCode;
    }
    return self;
}

- (NSString *)requestUrl {
    return @"member/forgetPassword";
}

- (BOOL)isHttps {
    return YES;
}

- (BOOL)isNeedHub {
    return YES;
}

- (YTKRequestMethod)requestMethod {
    return YTKRequestMethodPOST;
}

- (id)requestArgument {
    return @{
             @"phoneNo": _username,
             @"newPassword": _password,
             @"smsCode": _smsCode
             };
}

@end

@implementation IGForgetPasswordModel

@end

@implementation IGForgetPasswordResp

@end
